# Contributor: Gennady Feldman <gena01@gmail.com>
# Maintainer: Gennady Feldman <gena01@gmail.com>
pkgname=s3cmd
pkgver=2.2.0
pkgrel=1
pkgdesc="Command-line tool for managing Amazon S3 and CloudFront services"
url="https://github.com/s3tools/s3cmd"
license="GPL-2.0-or-later"
arch="noarch"
depends="python3 py3-dateutil py3-magic"
makedepends="python3-dev py3-setuptools"
subpackages="$pkgname-doc"
source="https://github.com/s3tools/s3cmd/archive/v$pkgver/s3cmd-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
4f9fbdf3a10b2319f5eef65dd20d57c2a4d3fb92d3fd99849666767cc40a76c88cc8115b8947ad1deba63f3ff55ceee691f54c95a92054c10ac25549cab72035  s3cmd-2.2.0.tar.gz
"
